ISlave.EoeSetSlaveEoeIp 方法

配置一个 EtherCAT 从站的 EoE (Ethernet over EtherCAT) 网路设定。欲获得更多有关 EoE 的资讯,请见 EtherCAT 乙太网路

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
IKsCommand EoeSetSlaveEoeIp(
       byte[] mac,
       byte[] ip,
       byte[] subnet,
       byte[] gateway,
       byte[] dns,
       string dnsName
)
Function EoeSetSlaveEoeIp(
       mac As Byte(),
       ip As Byte(),
       subnet As Byte(),
       gateway As Byte(),
       dns As Byte(),
       dnsName As String
) As IKsCommand

参数

mac

型别:byte[]

从站的 MAC 位址。

 

ip

型别:byte[]

从站的 IP 位址。

 

subnet

型别:byte[]

从站的子网路。

 

gateway

型别:byte[]

从站的闸道。

 

dns

型别:byte[]

从站的 DNS。

 

dnsName

型别:string

从站的 DNS 名称。

回传值

型别:IKsCommand

回传一个方法的状态。

备注

可用的 EtherCAT 状态

ecatPreOP, ecatSafeOP, ecatOP

参见

ISlave 介面

IntervalZero.KINGSTAR.Base.Class 命名空间